package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.common.utils.Query;
import com.bootdo.wx.dao.LessonContentDao;
import com.bootdo.wx.domain.LessonContentDO;
import com.bootdo.wx.service.LessonContentService;



@Service
public class LessonContentServiceImpl implements LessonContentService {
	@Autowired
	private LessonContentDao lessonContentDao;
	
	@Override
	public LessonContentDO get(String id){
		return lessonContentDao.get(id);
	}
	
	@Override
	public List<LessonContentDO> list(Map<String, Object> map){
		return lessonContentDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return lessonContentDao.count(map);
	}
	
	@Override
	public int save(LessonContentDO lessonContent){
		return lessonContentDao.save(lessonContent);
	}
	
	@Override
	public int update(LessonContentDO lessonContent){
		return lessonContentDao.update(lessonContent);
	}
	
	@Override
	public int remove(String id){
		return lessonContentDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return lessonContentDao.batchRemove(ids);
	}

	@Override
	public List<LessonContentDO> likeList(Map<String, Object> map) {
		
		return lessonContentDao.likeList(map);
	}
	
}
